<?php

namespace app\index\model;

use think\Db;
use think\Model;

/*
 * 服务消息
 */

class Servicenews extends Model
{
    //消息类型
    const TITLEID_1 = 1; //订单消息
    const TITLEID_2 = 2; //预约消息
    const TITLEID_4 = 4; //新客消息
    const TITLEID_5 = 5; //服务消息
    const TITLEID_7 = 7; //直播消息
    const TITLEID_9 = 9; //提现消息
    const TITLEID_10 = 10; //收入消息
    const TITLEID_11 = 11; //评价消息
    const TITLEID_12 = 12; //移交客户消息
    const TITLEID_13 = 13; //店铺审核消息
    const TITLEID_14 = 14; //助力成功
    const TITLEID_15 = 15; //助力失败
    const TITLEID_16 = 16; //助力购买成功 提醒去邀请

    //消息对象
    const TYPE_1 = 1; //商户
    const TYPE_2 = 2; //用户

    //消息状态
    const STATUS_0 = 0; //未读
    const STATUS_1 = 1; //已读

    //U盟推送alias_type
    const ALIAS_TYPE_1 = 'kkmOA';
    const ALIAS_TYPE_2 = 'kkm';
    
    //U盟推送 声音
    const VOICE_TYPE_1 = 'order';
    const VOICE_TYPE_2 = 'server';

}
